| Visual Basic (Declaration) | |
|---|---|
Public Event PageChanged As EventHandler(Of EntityQueryPageChangedEventArgs(Of T)) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EntityQueryPager(Of T) Dim handler As EventHandler(Of EntityQueryPageChangedEventArgs(Of T)) AddHandler instance.PageChanged, handler | |
| C# | |
|---|---|
public event EventHandler<EntityQueryPageChangedEventArgs<T>> PageChanged | |
| C++/CLI | |
|---|---|
public: event EventHandler<EntityQueryPageChangedEventArgs<T^>^>^ PageChanged | |
The event handler receives an argument of type EntityQueryPageChangedEventArgs<T> containing data related to this event. The following EntityQueryPageChangedEventArgs<T> properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancelled (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Returns whether the operation was cancelled. |
| CompletedSuccessfully (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Returns whether the operation completed successfully. |
| CompletedSynchronously (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Returns whether the operation was completed synchronously. |
| Error (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | The exception, if any, thrown by the underlying operation. |
| HasError (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Returns whether the operation failed. |
| IsCompleted (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Returns whether the operation completed. |
| IsErrorHandled (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Whether the Error was handled ( if one exists). |
| IsUnavailable (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Internal use only. |
| PageIndex | The index of the page moved to. |
| Results | The query results for the page. |
| UserState (Inherited from IdeaBlade.EntityModel.AsyncEventArgs) | Uniquely identifies the asynchronous operation. |
The EntityQueryPageChangedEventArgs<T> contain both the index of the new page and the contents of that page.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family